-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix(anthropic): support Azure-hosted Anthropic endpoints #9012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(anthropic): support Azure-hosted Anthropic endpoints #9012
Conversation
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
All contributors have signed the CLA ✍️ ✅ |
Documentation UpdatesAdded a new section to the Anthropic provider documentation explaining Azure AI Foundry configuration:
The documentation maintains the same level of detail as the existing sections and follows the established format. |
|
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 4 files
|
I truly hope I did not step on anyone's toes by submitting both bug issue and PR around the same time - that was not my intent. Keep up the great work, ty Cozmo |
Description
Adds support for Azure-hosted Anthropic models (Azure AI Foundry).
Azure requires
api-keyheader instead ofx-api-key.Fixes #9009
Checklist
Tests
Added unit tests in
AnthropicUtils.test.tsfor:api-keyvsx-api-key)Summary by cubic
Support Azure-hosted Anthropic endpoints by detecting Azure API base URLs and using the required api-key header. Maintains prompt caching behavior and adds a warning for key/endpoint mismatches.
Written for commit 9e8bfcd. Summary will update automatically on new commits.